﻿@model HdipCricketClub.Models.Opponent

@{
    ViewBag.Title = "Details";
}

<h2>Opponent Details:</h2>

<fieldset>
    <legend>Opponent</legend>

    <div class="display-label">@Html.LabelFor(model => model.club_name)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.club_name)
    </div>

    <div class="display-label">@Html.LabelFor(model => model.team_name)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.team_name)
    </div>

    <div class="display-label">@Html.LabelFor(model => model.address_1)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.address_1)
    </div>

    <div class="display-label">@Html.LabelFor(model => model.address_2)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.address_2)
    </div>

    <div class="display-label">@Html.LabelFor(model => model.town_city)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.town_city)
    </div>

    <div class="display-label">County:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.County1.name)
    </div>

    <div class="display-label">@Html.LabelFor(model => model.phone)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.phone)
    </div>

    <div class="display-label">@Html.LabelFor(model => model.email)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.email)
    </div>

    <div class="display-label">@Html.LabelFor(model => model.contact_name)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.contact_name)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.opponent_id }) |
    @Html.ActionLink("Back to List", "Index")
</p>
